package com.yuanfeng.commoms.exception;

/**
 * 错误编码和错误信息的枚举类
 * 10:通用
 * 11：用户
 * 12：订单
 * 13：购物车
 * 14:物流
 * 15:商品
 * 16:店铺
 * 17:支付
 * 18:活动
 */
public enum BizCodeEnume {

    UNKNOW_EXCEPTION(10000,"系统未知异常"),

    VALID_EXCEPTION(10001,"参数格式异常"),

    TOKEN_IS_ILLEGAL(10002,"token非法"),

    VALID_SMS_EXCEPTION(10003, "短信发送频率太高，稍等一会发送!"),

    SENDING_SUCCEEDED(10004, "发送成功"),

    MOBILE_NUMBER_NOT_EXIST(10005, "该手机号暂未注册，请前往注册页进行注册"),

    SMS_SUCCESS(10006, "SMS配置信息存在并返回成功"),

    PASSWORD_NOT_STANDARD(10007, "密码不规范"),

    QUERY_ERROR(10008, "查询错误"),

    AUDIT_ERROR(10009, "审核错误"),

    UPLOAD_ERROR(10010, "上传错误"),

    OPERATE_ERROR(10011, "重复提交"),

    SYSTEM_ERROR(10012, "系统异常，请联系客服"),

    MYSQL_EXCEPTION(10013, "数据库sql异常"),

    BLOCKING_EXCEPTION(10014, "网络有点不顺畅，小蜂君正在快马加鞭的路上~"),

    SMS_EXCEPTION(10015, "短信发送失败，请稍后再试"),

    TOKEN_IS_INVALID(10016, "token失效,请重新登陆"),

    UPDATE_SUCCEEDED(10017, "更新成功"),

    SIGNATURE_VERIFICATION_FAILED(10018, "验签失败"),

    OSS_SUCCESS(10019, "OSS配置信息存在并返回成功"),

    UPLOAD_SUCCESS(10020, "上传成功"),

    TYPE_ERROR(10021, "类型名称不可重复"),

    DISPLAYORDER_ERROR(10022, "数值有误！请输入1-200的整数"),

    TYPE_NOT_DELETE_ERROR(10023, "该类型目前存在商品不能删除"),

    DELETE_ERROR(10024, "删除异常"),

    UPDATE_ERROR(10025, "更新失败"),

    NO_INFORMATION_OBTAINED(10026, "未获取到信息！"),

    KEY_VALUE_CANNOT_BE_EMPTY(10027, "configKey值不能为空！"),

    REJECT_APPLY(10028, "已驳回申请！"),

    TOKEN_IS_NULL(10029, "token不能为空！"),

    UPLOAD_TYPE_NOT_PNG(10030, "图片类型只能是.png！"),

    EQUAL_ALTITUDE(10031, "图片宽高必须一致！"),

    SUBMIT_FOR_REVIEW_ERROR(10032, "提交审核失败！"),

    PLEASE_SELECT_AN_IMAGE(10033, "请选择头像"),

    ADD_ADMIN_USER_ERROR(10033, "用户名重复！"),

    DELETE_ADMIN_DEPARTMENT_USER_ERROR(10034, "该部门下有用户，删除失败！"),

    PLATFROM_SEARCH_UPDATE_ERROP(10035, "默认搜索词不能超过9个"),

    UPDATE_ADPAGE_Floor_MAX_ERROP(10036, "层商品数量不允许超过8个"),

    UPDATE_ADPAGE_Floor_MIN__ERROP(10037, "楼层商品数量不允许小于0个"),

    ELETE_GOODS_CAT_ERROP(10038, "该分类目前存在商品不能删除"),

    UPDATE_RECHARGE_CARD_ERROP(10039, "请勿重复激活"),

    UPDATE_USER_MONEY_ERROP(10040, "输入金额有误,正确格式： '+'增加金额，'-'扣除金额"),

    UPDATE_USER_MONEY_ERROP_TOW(10041, "剩余金额为负数，不能修改"),

    ADD_TAG_INFO_ERROR(10042, "会员标签名称不能重复"),

    UNSCANNED_CODE(10043,"未扫码"),

    ADD_SUCCESS(10044, "添加成功"),

    ADD_ERROR(10045, "添加失败"),

    UPLOAD_UP_TO_5_PHOTOS(10046, "最多上传5张照片"),

    NO_AUDIT_INFORMATION(10047, "没有审核信息"),

    MISSING_PARAMETER(10048, "缺少参数"),

    SHOP_ID_IS_NULL(10049, "shopId不能为空"),

    PAY_INTEGRAL_ERROR(10050, "账户积分不足"),

    OPERATION_SUCCESSFUL(1, "操作成功"),

    OPERATION_FAILED(10052, "操作失败"),

    APPROVE_FAILED(10053, "审核失败"),

    WX_LIVE_HOST_01(1, "主播角色设置成功。"),

    WX_LIVE_HOST_02(40001, "AccessToken过期或者失效请联系管理员。"),

    WX_LIVE_HOST_03(40002, "此用户未实名，请先实名认证。"),

    WX_LIVE_HOST_04(40003, "添加角色达到上限。"),

    WX_LIVE_HOST_05(40004, "重复添加角色。"),

    WX_LIVE_HOST_06(20002, "入参不正确。"),

    WX_LIVE_HOST_07(10054, "微信审核失败。"),

    WX_LIVE_HOST_08(10055, "微信审核通过。"),

    WX_LIVE_HOST_09(10056, "微信审核失败，用户未实名。"),

    WX_LIVE_HOST_10(10057, "微信审核失败，添加角色上限联系管理员。"),

    WX_LIVE_HOST_11(10058, "微信审核失败，重复添加。"),

    WX_LIVE_HOST_12(10059, "该商品图片格式不对，不支持缩略图。"),

    SELECT_DATA_NULL(10060, "数据查询为空。"),

    DELETE_SUCCESS(10061, "删除成功"),

    PHONE_IS_EXIST(10062, "手机号已存在,请返回首页找回密码"),

    REPEATED_SENDING(10063, "请勿重复发送短信"),

    SENDING_FAIL(10064, "发送失败"),

    OSS_STACT_SUCCESS(10065, "初始化成功"),

    OSS_FAIL(10066, "初始化失败"),

    PAY_PASSWORD_ERROR(10067, "支付密码不正确，您已经尝试3次，支付密码将锁定1小时，或找回密码后重试！"),

    EXPORT_QUANTITY_IS_TOO_LARGE(10067, "导出数量过大，请联系运维"),

    PLEASE_BE_LESS_THAN_30000_PIECES(10068, "请小于三万条"),

    MOBILE_NUMBER_IS_EMPTY(10069, "手机号为空"),

    NO_SET_JOB_NAME(10077, "未设置任务名称!"),

    NO_SET_JOB_INVOKETARGET(10078, "未选择调用任务!"),

    NO_SET_JOB_MOUTH(10079, "未设置月!"),

    NO_SET_JOB_WEEK(10080, "未设置周!"),

    NO_SET_JOB_DAY(10081, "未设置日!"),

    NO_SET_JOB_HOUR(10082, "未设置时!"),

    NO_SET_JOB_MIN(10083, "未设置分!"),


    JOB_IS_EXIST(10084, "该任务已经添加！！"),

    JOB_NO_YET_CLOSED(10085, "该定时任务还未关闭，请稍后再试！"),

    EXPRESS_NAME_PING_LIMIT(10086, "快递公司名称和首字母需小于30个字符"),

    FIRST_CHARACTER_NOT_REPEAT(10087, "快递公司或者快递公司首字符不能重复"),

    FILE_SIZE_GT_TWO(10088, "文件大小超过2M，无法上传"),

    INTERNAL_ERROR(10089, "内部错误"),

    INCORRECT_PHONE_NUMBER_FORMAT(10090, "手机号码格式不正确，请重新输入！"),

    APPLY_ERROR(10091,"您无法申请提交"),

    VERIFICATION_SUCCESSFUL(10092,"校验成功"),
    //-------------------------------用户----------------------------------------------------
    LOGIN_SUCCEEDED(11000, "登录成功"),

    EXIT_SUCCESSFULLY(11001, "退出成功"),

    USER_DOES_NOT_EXIST(11002, "用户不存在,请先注册再登录"),

    USERNAME_PHONE_VALID_EXCEPTION(11003, "账号或者密码错误"),

    INCORRECT_VERIFICATION_CODE(11004, "验证码不正确"),

    ACCOUNT_IS_STILL_UNDER_REVIEW(11005,"账号尚在审核"),

    USER_IS_NOT_LOGGED_IN(11006, "用户未登录"),

    INSUFFICIENT_PERMISSIONS(11007, "权限不足"),

    ACCOUNT_ABNORMALITY(11008, "账号异常，请联系客服"),

    ACCOUNT_HAS_NOT_BEEN_APPROVED(11009, "账号尚未审核通过，请耐心等待！"),

    ACCOUNT_HAS_BEEN_FROZEN(11010, "账号已被冻结"),

    MEMBER_REGISTRATION(11033, "会员注册"),

    REGISTRATION_FAIL(11011, "注册失败"),

    REGISTRATION_SUCCESS(1, "注册成功"),

    VERIFICATION_CODE_OVERDUE(11013, "验证码已过期，请重新获取"),

    INTEGRAL_CANNOT_BE_LESS_THAN_0(11014, "积分不能小于0"),

    USERNAME_EXSIT_EXCEPTION(11015, "用户名存在"),

    PHONE_EXSIT_EXCEPTION(11016, "手机号已存在"),

    PASSWORD_CANNOT_BE_EMPTY(11017, "密码不能为空"),

    PASSWORD_CANNOT_BE_OLD_PASSWORD(11018, "输入密码不能和原密码相同"),

    PASSWORD_UPDATED_SUCCESSFULLY(11019, "更新密码成功"),

    PASSWORD_UPDATED_FAILED(11020, "更新密码失败"),

    SHOP_REGISTRATION_FAIL(11021, "增加商户失败"),

    NOT_HAVE_ORDER(11022,"未在蜂王自营店铺下单"),

    NOT_HAVE_PARENTID(11023,"没有邀请人，随机选取"),

    HAVE_PARENTID(11024,"有邀请人,展示蜂王计划"),

    NOT_HAVE_USER(11025,"邀请人不存在"),

    UNABLE_TO_FILL_YOURSELF(11026,"无法填写自己为邀请人"),

    NO_APPLICATION(11027,"未申请蜂王计划"),

    JOIN_APPLICATION(11028, "未申请蜂王计划"),

    PLEASE_DO_NOT_REPEAT_THE_APPLICATION(11029, "请不要重复申请"),

    VERIFICATION_CODE_CANNOT_BE_EMPTY(11030, "验证码不能为空"),

    VERIFICATION_CODE_SUCCESS(11031, "验证码生成成功"),

    VERIFICATION_CODE_FAIL(11032, "验证码生成失败"),

    QUERY_USER_FAIL(11033, "获取用户信息失败"),

    NO_RED_ENVELOPES(11034, "没有红包"),

    RED_ENVELOPE_AVAILABLE(11035, "有可领取红包"),

    COLLECTION_IS_EMPTY(11036, "收藏为空"),

    SUCCESSFULLY_QUERIED_FAVORITE_PRODUCTS(11036, "查询收藏商品成功"),

    ACCOUNT_ALREADY_BIND(11037, "该账号已被绑定"),

    SUCCESSFULLY_VERIFIED_THE_OLD_PHONE_NUMBER(11038, "验证旧手机号成功"),

    FAILED_VERIFIED_THE_OLD_PHONE_NUMBER(11039, "验证旧手机号失败"),

    MOBILE_NUMBER_HAS_BEEN_USED(11040, "手机号已被使用"),

    ORIGINAL_PHONE_NUMBER_IS_EMPTY(11041, "原手机号为空"),

    SUCCESSFULLY_CHANGED_THE_PHONE_NUMBER(11042, "更换手机号成功"),

    FAILED_CHANGED_THE_PHONE_NUMBER(11043, "更换手机号失败"),

    COMPANY_NAME_CANNOT_BE_EMPTY(11044, "公司名不能为空"),

    COMPANY_NAME_HAS_ALREADY_BEEN_USED(11045, "公司名已被使用"),

    SUCCESSFULLY_SUBMITTED_TO_UPGRADE_THE_ENTERPRISE(11046, "提交升级企业成功！"),

    COMPANY_TAX_NUMBER_NOT_TRANSFERRED(11046, "未传公司税号!"),

    COMPANY_TAX_NUMBER_DOES_NOT_COMPLY_WITH_THE_RULES(11046, "公司税号不符合规则!"),

    BUSINESS_TITLE_HAS_BEEN_REGISTERED(11047, "该企业抬头已经注册，请更换企业抬头!"),

    SUCCEEDED_IN_CHANGING_THE_ACCOUNT_ENTITY(11048, "变更账号主体成功"),

    FAILED_IN_CHANGING_THE_ACCOUNT_ENTITY(11048, "变更账号主体失败"),

    ACCOUNT_IS_FROZEN_OR_HAS_NO_PERMISSIONS(11049, "账号被冻结或没权限"),

    CANNOT_MODIFY_A_LEVEL_1_DEPARTMENT(11050, "不能修改一级部门"),

    DUPLICATE_ACCOUNT_NAME(11051, "重复名！请重新填写账号名称"),

    ACCOUNT_NAME_CAN_ONLY_BE_IN_ENGLISH_OR_NUMBERS(11052, "账户名称只能是英文或数字并且在6~30位数之间!"),

    ACCOUNT_NAME_CANNOT_BE_EMPTY(11053, "未传账户名称!"),

    ACCOUNT_NICKNAME_CANNOT_BE_EMPTY(11054, "未传账户昵称!"),

    PERMISSION_NOT_TRANSFERRED_TO_EMPLOYEE(11055, "未传员工权限!"),

    APPROVAL_PROCESS_INFORMATION_NOT_TRANSFERRED(11056, "未传审批流信息!"),

    NOT_TRANSFERRED_TO_APPROVAL_PROCESS_INITIATOR(11057, "未传审批流发起人!"),

    ACCOUNT_CAN_BE_REGISTERED(11058, "该账号可以注册。"),

    USER_HAS_AN_ASSOCIATED_APPROVAL_PROCESS(11060, "该用户有关联的审批流，请先解除审批关联。"),

    NO_APPROVED_ORDERS(11061, "无审批订单。"),

    PLATFORM_ORDERING_CODE_DOES_NOT_EXIST(11062,"该平台订货编码不存在"),

    ORDERING_CODE_OF_THIS_PLATFORM_HAS_BEEN_BOUND_TO_A_MATERIAL_NUMBER(11063,"该平台订货编码已绑定了物料号,，请更换平台订货编码"),

    MATERIAL_NUMBER_ALREADY_EXISTS(11064,"该物料号已存在，请更换物料号"),

    FAILED_TO_UPDATE_THE_SHIPPING_ADDRESS(11065,"更新收货地址失败,手机号不正确"),

    PROVINCE_INCORRECT(11066,"更新收货地址失败,省份不正确"),

    DETAILED_ADDRESS_IS_EMPTY(11067,"更新收货地址失败,详细地址为空"),

    ADDRESS_SELECTION_FAILED(11068,"地址选择失败，请重新选择"),

    ACCOUNT_NO_INQUIRY_PERMISSIONS(11069, "当前账号暂无采购/询价权限，请联系企业管理员添加，或升级账号权限"),

    FILE_NOT_EXIST(11070, "文件不存在"),

    FILE_FORMAT_WRONG(11071, "文件格式错误"),

    DATA_FORMAT_WRONG(11072, "数据格式错误，请按照模板格式上传文件"),

    EXCEL_MAX_ROWS(11073, "上传Excel的最大行数不应超过100行"),

    EXCEL_NO_GOODS(11074, "暂未匹配到商品，请重新上传！"),

    NO_GOODS(11075, "未查询到商品信息"),

    USER_ID_IS_NULL(11076, "userid为null"),

    DISABLED_BY_MERCHANT(11077, "该账号已被商家禁用，请联系商家"),

    PAYMENT_PASSWORD_IS_NULL(11078, "未设置支付密码"),

    INTEGRAL_DETAIL_MUST_LOGIN(11079, "先登录才能查看积分详情"),

    DANGEROUS_TRANSFER_OF_ACCOUNT(17032, "请勿给本账号转账！"),

    ACCOUNT_IS_NOT_EXIST(17033, "账号不存在，请输入正确账号或确认账号是否正确！"),

    USER_IS_NOT_EXIST_BUSINESS(17034, "您还不是商家无法申请经销商！"),

    USER_IS_NOT_SUPPLIER(17034, "您是供应商无法申请经销商！"),

    REGISTERED_STORE_WITH_PHONE_NUMBER(17034, "此手机号已注册门店！"),

    RED_ENVELOPE_DISTRIBUTION_FAILED(17035, "红包发放失败"),

    DEPARTMENT_NAME_LIMIT(17036, "部门名称需小于30个字符"),

    GROUPING_IS_RELATED(17037, "该分组有关联管理员账号"),

    USER_IS_NOT_BUSINESS(17038, "您不是商家用户无法操作！"),

    NOT_APPLYING_FOR_A_DISTRIBUTOR(17039, "未申请经销商！"),

    USER_NICKNAME_NOT_OBTAINED(17040, "未申请经销商！"),

    USER_PROFILE_NOT_OBTAINED(17041, "未获取到用户头像！"),

    VK_USER(17042,"您是微客无需申请"),

    OTHER_YG_USER(17043,"您是员工用户请联系商家申请"),

    CONDITION_NOT_MET(17044,"条件不满足无法申请"),

    VK_CLOSE(17045,"微客推广已关闭"),

    USER_IS_VK(17046,"当前用户已是微客"),

    PLUS_ERROR(17047,"该权益存在绑定的套餐，请先至套餐中删除后再进行删除"),

    PLUS_ERROR2(17048,"该权益存在绑定的套餐，请先至套餐中删除后再进行禁用"),

    NOT_BUSINISS(17049,"您不是商家无法邀请" ),
    YG_USER(17050,"您是微客无需申请"),
    OTHER_VK_USER(17051,"您的微客商家与员工绑定商家不匹配无法申请"),
    NO_STORE(17052,"未找到商家门店信息 无法申请"),

    //-------------------------------购物车，询价篮----------------------------------------------------

    INVENTED_GOODS_NOT_ADD_BASKET(13001, "虚拟商品无法加入询价篮"),

    NOT_INQUIRY_GOODS(13001, "非询价商品无法加入询价篮"),

    INQUIRY_BASKET_LIMIT_HAS_BEEN_REACHED(15006, "已达询价篮上限！"),

    UPDATE_GOODS_NUM_FAIL(15006, "更改商品数量失败！"),

    ADD_INQUIRY_GOODS_FAIL(15006, "添加询价篮失败！"),

    STATUS_IS_FAIL(15006, "状态错误！"),

    USER_CART_LIMIT_ERROR(15008, "请注意商品的最高或最低限购数哦！"),

    USER_CART_STOCK_ERROR(15009, "商品库存不足！"),

    //-------------------------------订单----------------------------------------------------
    NO_STOCK_EXCEPTION(14001, "商品锁定库存失败"),

    ORDER_CANCELED(14002, "该订单已取消，请勿重复操作！"),

    DEFAULT_RECEIPT_SUCCEEDED(14003, "默认收货成功"),

    DEFAULT_RECEIPT_FAILED(14004, "默认收货失败"),

    GOODS_RECEIVED_SUCCESSFULLY(14005,"收货成功"),

    GOODS_RECEIVED_FAILED(14006,"收货失败"),

    ORDER_NUMBER_IS_EMPTY(14007,"订单号为空，请输入订单号"),

    PLEASE_COMPLETE_THE_REFUND_INFORMATION(14008,"请完善退款信息"),

    GOODS_BEYOND_THE_AFTER_SALES_PERIOD(14009,"分销商品超过售后期，无法申请"),

    RETURN_REASON_CANNOT_BE_NULL(14010,"退货原因不能为null"),

    APPLICATION_FAILED(14011,"申请失败,请联系客服！"),

    SUCCESSFULLY_RESUBMITTED_THE_ORDER_FOR_APPROVAL(14012,"重新提交审批订单成功"),

    FAILED_TO_RESUBMIT_THE_APPROVAL_ORDER(14013,"重新提交审批订单失败"),

    ORDER_HAS_TIMED_OUT(14014,"订单超时"),

    BILLING_NO_IS_REQUIRED(14015, "帐单编号必传！"),

    COLLECTION_AMOUNT_AND_VOUCHER_IS_REQUIRED(14016, "回款金额和凭证必传！"),

    CREDENTIAL_MUST_BE_LESS_THAN_2MB(14017, "凭证需小于2MB"),

    ENTER_THE_CORRECT_COLLECTION_AMOUNT(14018, "请输入正确的回款金额"),

    THE_ORDER_HAS_BEEN_PAID_OFF(14019, "该订单已还清"),

    COLLECTION_AMOUNT_CANNOT_BE_BLANK(14020, "回款金额不能为空"),

    PLEASE_ENTER_A_VALID_BILL_NUMBER(14021, "请输入有效账单编号"),

    VOUCHER_UPLOADED_SUCCESSFULLY(14022, "凭证上传成功"),

    INVOICE_TEMPLATES_HAS_SUPERIOR_LIMIT(14023, "发票模版数已达上限"),

    INVOICE_ADDRESS_TEMPLATES_HAS_REACHED_THE_UPPER_LIMIT(14024, "发票地址模版数已达上限"),

    ORDER_IS_NULL(14025, "订单为空"),

    ORDER_PRICE_IS_ERROR(14026, "金额的格式有误,请按要求填写"),

    CHANGE_PRICE_IS_ERROR(14027, "请注意，改价金额不得大于实付金额！"),

    INQUIRY_ID_IS_NULL(14028, "单号Id不能为空"),

    AVAILABLE_NUM_IS_NULL(14029, "可供数量不能为空"),

    QUOTED_PRICE_IS_NULL(14030, "报价金额不能为空"),

    VALID_DATE_IS_NULL(14031, "报价有效期不能为空"),

    TRANSFERRED_ORDER(14032, "该商品已转订单"),

    DATE_DOES_NOT_MATCH(14033, "报价有效日期不能大于虚拟商品有效日期"),

    QUANTITY_DOES_NOT_MATCH(14034, "报价可供数量不能大于需求数量"),

    SHIPPING_ADDRESS_IS_NULL(14035, "商家所用发货地址ID不能为空，请填写后重新上传。"),

    CONSIGNOR_NAME_IS_NULL(14036, "发货人姓名不能为空，请填写后重新上传。"),

    CONSIGNOR_ADDRESS_IS_NULL(14037, "发货人地址不能为空，请填写后重新上传。"),

    CONSIGNOR_TEL_IS_NULL(14038, "发货人联系方式不能为空，请填写后重新上传。"),

    EXPRESS_ID_IS_NULL(14039, "配送公司ID不能为空，请填写后重新上传。"),

    GOODS_ID_IS_NULL(14040, "商品ID不能为空，请填写后重新上传。"),

    SHOPPING_CODE_IS_NULL(14041, "快递单号不能为空，请填写后重新上传。"),

    ORDER_HAVE_REFUND_RETURN(14042, "该订单存在退款或退货"),

    ORDER_AFTER_SALES(14043, "该订单正处于售后状态，请勿发货！"),

    ORDER_AFTER_SALES_COMPLETION(14044, "该订单已完成售后，请勿操作！"),

    ORDER_PAID(14045, "订单已支付，请勿重复支付！"),

    ORDER_HAS_NOT_BEEN_APPROVED_YET(14046, "该订单还未进行审批，不能支付！"),

    ORDER_HAS_TIMED_OUT_CANNOT_BE_PAID(14047, "该订单已超时，不能支付！"),

    INVENTED_ORDER_IS_OVERDUE(14048, "虚拟订单已过期"),

    REPLY_ERROR(14049, "回复失败！"),

    BALANCE_NOT_ENOUGH_ERROR(14050, "扣款余额不足，请先确认其他结算单！"),

    INVOICE_ADDRESS_TITLE_IS_NULL(14051, "发票抬头不能为空"),

    ORDER_AFTER_SALES_NULL(14052, "没有获取到售后信息！"),

    FILLING_LOGISTICS_ERROR(14053, "填写物流失败！"),

    NO_PLATFORM_INTERVENTION(14054, "无平台介入信息！"),

    ORDER_AFTER_CALL_FAIL(14055, "售后唤起失败"),

    ORDER_EXP_FAIL(14056, "导出数量过大，请联系运维"),

    APPLICATION_SUCCESS(14011,"申请成功"),

    CURRENT_ORDER_REFUND_IN_PROGRESS(14012,"当前订单退款中,请勿重复操作"),

    CURRENT_ORDER_RETURN_IN_PROGRESS(14013,"当前订单退货中,请勿重复操作"),

    NOT_EXCEEDING_THE_TIME_AFTER_SALE(14014,"未超出售后时间"),

    ORDER_AFTER_TIME_EXCEED(14018, "超出售后时间"),

    ORDER_EXPIRE_CANNOT_BE_CANCELLED(14019, "此订单已过期 无法核销！"),

    ORDER_REFUND_CANNOT_BE_CANCELLED(14020, "此订单退款中 无法核销！"),

    ORDER_REFUND_COMPLETED(14021, "此订单退款完成 无法核销！"),
    //-------------------------------商品-------------------------------
    PRODUCT_HAS_BEEN_REMOVED_FROM_THE_SHELF(15001, "商品已下架"),

    VIRTUAL_PRODUCT_CANNOT_BE_ADDED_TO_SHOPPING_CART(15002, "虚拟商品无法加入购物车"),

    DO_NOT_PURCHASE_YOUR_OWN_PRODUCTS(15003, "请勿购买自家商品！"),

    TREASURES_IS_OUT_OF_RANGE(15004, "宝贝数量超出范围！"),

    PRODUCT_QUANTITY_FAIL(15005, "请注意商品数量不能低于起订量！"),

    SHOPPING_CART_LIMIT_HAS_BEEN_REACHED(15006, "已达购物车上限！"),

    GOODS_IMG_FORMAT_ERROR(15007, "该商品图片格式不对，不支持缩略图！"),

    GOODS_NOT_EXIST(15008, "商品不存在，联系管理员！"),

    NO_SUPPORT_THUMBNAIL(15009, "不支持缩略图！"),

    SPEC_REPEAT(15010, "规格重复！"),

    SPU_ID_IS_NULL(15010, "未传spuId！"),

    SKU_ID_IS_NULL(15010, "未传skuId！"),

    ONLINE_GOODS_ERROR(15011, "上架询价商品请开通询价功能或编辑商品"),

    NO_SET_GOODS_PRICE(15012, "暂未设置商品价格，若需更改需进入商品编辑页"),

    GOODS_OFFLINE(15013, "商品已下架"),

    STOCK_ID_IS_NULL(15010, "库存不能为空！"),

    GOODS_IMAGE_IS_NULL(15010, "无效必传参数：goodsImages为空！"),

    SPEC_VALUE_IS_NULL(15010, "规格不能为空！"),

    ADD_GOODS_RELEASED(15010, "成功发布商品，该商品可在仓库商品查看！"),

    ADD_GOODS_SUCCESS(15010, "成功发布该商品，待平台审核！"),

    PRODUCTS_OUT_OF_STOCK_IN_THIS_SALES_AREA(15011, "存在商品在该售卖区域无货"),

    INSUFFICIENT_INVENTORY(15012, "库存不足"),

    INQUIRY_PRODUCT_HAS_BEEN_TRANSFERRED_TO_AN_ORDER(15013, "该询价商品已转订单"),

    ORDER_DOES_NOT_MEET_USING_RED_ENVELOPES_OR_COUPONS(15014, "此订单不符合红包或优惠券使用条件，请确认使用条件！"),

    ORDER_AMOUNT_ERROR(15015, "订单金额错误，请勿操作！"),

    GOODS_EXCEEDS_THE_MAXIMUM_PURCHASE_LIMIT(15016, "当前商品数量超过最大限购数量!"),

    NOT_BUY_ME_GOODS(15017, "无法购买自家商品!"),

    NOT_BUY_ME_SUPPLIER_GOODS(15018, "无法购买经销商品!"),

    PRODUCT_ATTRIBUTE_HAS_BEEN_PUBLISHED(15019, "商品属性已发布暂不能删除"),

    BRAND_NAME_ALREADY_EXISTS(15020, "品牌名称已存在"),

    GOODS_NOT_WORKING(15018, "自己的商品不能操作!"),

    SORTING_VALUE_YOU_ENTERED_IS_OUT_OF_RANGE(15019, "你输入的排序值超出范围!"),

    BRAND_ASSOCIATED_GOODS(15020, "该品牌还有关联商品"),

    CAT_NO_AUTH(15021,"分类未授权"),

    GOODS_DEALER(15022,"商品已经销"),

    PRODUCT_CANNOT_BE_SYNCHRONIZED_REPEATEDLY(15023,"商品不能重复同步"),

    ONLINE_PRODUCT_SPECIFICATION_INVENTORY_UPDATE_FAILED(15024,"线上商品规格库存更新失败，门店ID:"),

    PRODUCT_ALREADY_EXISTS(15025,"商品已存在"),

    TREASURES_IS_LESS_THAN_THE_RANGE(15026, "宝贝数量小于范围"),


    EXCEEDING_INVENTORY_QUANTITY(15027, "商品库存数量不足，请调整购买数量"),
    //------------------------------店铺-------------------------------------
    NO_STORE_INFORMATION(16001, "无店铺信息"),

    SUCCESSFULLY_QUERIED_FAVORITE_STORES(16002, "查询收藏的店铺成功"),

    NO_USABLE_VOUCHERS_FOUND(16003, "未查询到可以用代金券"),

    NO_ROTATION_INFORMATION_FOUND(16004, "轮播信息为空"),

    NO_OPEN_INQUIRY(16005, "店铺未开启询价！"),

    NO_UPLOAD_CHAPTER(16006, "必须上传公章"),

    NO_NULL_SELLER_NAME(16007, "卖方名称不能为空"),

    NO_NULL_SELLER_ADDRESS(16008, "卖方地址不能为空"),

    NO_NULL_SELLER_TEL(16009, "联系电话不能为空"),

    NO_NULL_BANK_DEPOSIT(16010, "开户行名称不能为空"),

    NO_NULL_ACCOUNT_NUMBER(16011, "银行账号不能为空"),

    NO_CONTRACT_FOUND(16012, "查看合同模板失败"),

    UPDATE_CONTRACT_ERROR(16013, "设置合同模板失败"),

    ALSO_INCOMPLETE_INVOICE(16014, "由于当前有未完成开票的订单，暂时无法关闭，请至订单页面查看订单进度"),

    UPDATE_SUB_ACCOUNT_ERROR(16015, "添加店铺子账号失败"),

    EXIST_LIMIT_GROUP(16016, "权限组已存在"),

    ADD_LIMIT_GROUP_ERROR(16017, "添加权限组失败"),

    DEL_LIMIT_GROUP_ERROR(16018, "删除权限组信息失败，该权限组下还有用户！"),

    ADD_ANCHOR_ERROR(16019, "未添加主播！"),

    NOT_EXIST_WECHATID(16020, "请先设置微信号！"),

    ADD_LIVE_ROOM_ERROR(16021, "添加直播间失败！"),

    NOT_NULL_SHOP_ACCOUNT(16022, "没有已结算的账期账单！"),

    NOT_NULL_ACCOUNTING_ID(16023, "没有找到账单"),

    NOT_NULL_APPROVED_STATE(16024, "请选择审核状态"),

    NOT_NULL_COLLECTION(16025, "请选择凭证"),

    SHOP_BASE_ERROR(16026, "商家信息错误"),

    REPAYMENT_BE_OUT_AUDIT_PERIOD(16027, "还款不在审核期间"),

    NOT_FOUND_COLLECTION(16028, "未找到相应凭证"),

    CLICK_FREQUENCY_TOO_FAST(16029, "点击提醒还款间隔时间太短!"),

    NO_NULL_LIMIT_STATUS(16030, "未传限额状态"),

    LIMIT_AMOUNT_ZERO(16031, "限额金额必须大于0"),

    NO_NULL_ACCOUNT_TIME(16032, "未传账期时间!"),

    TIME_IS_TOO_SHORT(16033, "距离上次更改还未满180天!"),

    ONLY_ALLOWED_BUSINESS_USER(16034, "账期只能授权企业用户!"),

    NOT_OPENED_ACCOUNT(16035, "用户未开通账期"),

    NOT_CHOOSE_AREA(16036, "未选择城市"),

    RED_ENVELOPE_USED(16037, "红包已使用，请重新选择！"),

    BUSINESS_CATEGORY_MEETS(16038, "经营类目符合！"),

    BUSINESS_CATEGORT_NOT_MATCH(16039, "经营类目不符合！"),

    UNFINISHED_ORDERS_UNDER_THE_STORE(16039,"该店铺还有未完成订单或仍有订单处于售后期内，暂时无法关闭店铺！"),

    REGISTRATION_DESCRIPTION_TOO_LONG(16040, "报名描述过长！"),

    DECODING_FAILED(16041, "解码失败"),

    THE_STORE_HAS_BEEN_CLOSED(16042, "店铺已被关闭，请联系平台"),

    DUPLICATE_STORE_NAME(16043, "店铺名重复"),

    USER_HAS_NOT_OPENED_A_STORE(16044, "该用户未开通店铺"),

    USER_HAS_OPENED_A_STORE(16045, "该用户已开通店铺或是其他店铺的子账号"),

    GUARANTEE_SUCCESS(16046, "质保金罚款成功"),

    GUARANTEE_FAILED(16047, "质保金罚款失败"),

    //----------------------------------支付----------------------------------------------
    CARD_HAS_ALREADY_BEEN_USED(17001, "该充值卡已使用！"),

    RECHARGED_SUCCESSFULLY(17002, "充值成功！"),

    RECHARGE_FAILED(17003, "充值失败,请联系客服！"),

    RECHARGE_CARD_NOT_ACTIVATED(17004, "充值卡未激活，请联系客服！"),

    INSUFFICIENT_ACCOUNT_BALANCE(17005, "账户余额不足！"),

    INCORRECT_FORMAT_OF_WITHDRAWAL_AMOUNT(17006, "提现金额格式不正确，请重新操作！"),

    CASH_WITHDRAWAL_APPLICATION(17007, "提现申请已提交，等待审核中！"),

    WITHDRAWAL_FAILED(17008, "提现申请提交失败！"),

    PAYMENT_PASSWORD_ERROR(17009, "支付密码错误！"),

    TRANSFER_SUCCEEDED(17010, "转账成功！"),

    ASSET_UPDATE_FAILED(17011, "资产更新失败！"),

    RECORD_INPUT_FAILED(17012, "记录输入失败！"),

    TRANSFER_FAILED(17013, "转账失败！"),

    PASSWORD_NOT_SET(17014, "未设置密码，请前往密码设置！"),

    PASSWORD_ERROR_ONE(17015, "密码错误，可联系企业管理员修改！"),

    PASSWORD_ERROR_TWO(17016, "密码错误，可以选择密码重置！"),

    NO_VOUCHERS_AVAILABLE_FOR_USE_FOUND(17017, "未查询到可以用代金券"),

    INSUFFICIENT_AVAILABLE_PERIOD(17018, "账期可用额度不足，可选择其他支付方式下单。"),

    WITHDRAWAL_REQUEST_FAILED(17019, "提现申请提交失败!"),

    INSUFFICIENT_WITHDRAWABLE_AMOUNT(17020, "可提现金额不足，请确认账户余额是否充足！"),

    UNCONFIRMED_SETTLEMENT__DOCUMENTS(17021, "有未确认结算单，请确认！"),

    PASSWORD_SUCCESS(17022,"密码正确"),

    PAYMENT_SUCCESSFUL(17023,"支付成功"),

    PAYMENT_FAILED(17024,"支付失败"),

    PASSWORD_ERROR_THREE_TIMES(17026,"密码错误三次！"),

    USER_HAS_NOT_OPENED_AN_ACCOUNT_PERIOD(17027,"用户没有开通账期"),

    INSUFFICIENT_AVAILABLE(17028,"可用余额不足以支付订单"),

    FAILED_TO_GENERATE_ACCOUNTING_PERIOD_BILL(17029,"生成账期帐单失败"),

    FAILED_TO_MODIFY_ACCOUNTING_PERIOD_BILL(17030,"修改账期帐单失败"),

    CARD_NO_START(18013, "购物卡还未生效"),

    CARD_IS_END(18014, "购物卡已经失效"),

    MERCHANT_HAS_AUTHORIZED_THE_MINI_PROGRAM(18015,"该商家已授权小程序"),

    MERCHANT_IS_NOT_AUTHORIZED_FOR_THE_MINI_PROGRAM(18016,"该商家未授权小程序"),

    CARD_IS_NUll(18017, "请输入正确的购物卡"),

    //----------------------------------活动----------------------------------------------
    VOUCHER_ISEMPTY(18001, "查询到的代金券为空！"),

    INCORRECT_AMOUNT(18002, "订单金额小于代金券面额则不可添加！"),

    NO_CHOICE_VOUCHER_TYPE(18003, "未选择优惠券类型！"),

    NO_CHOICE_GOODS(18004, "未选择商品！"),

    REPEAT_ADD_GOODS(18005, "已有商品参加代金券，请勿重复添加！"),

    COUPON_USED(18006, "优惠券已使用，请重新选择！"),

    ACTIVITY_LIMIT_PURCHASE_LIMIT(18006,"该商品已达购买上限"),

    ACTIVITY_NO_PURCHASE_LIMIT(18006,"未达上限，可以购买"),

    ACTIVITY_ACTIVITY_ENDED(18006,"活动未开始或活动已结束"),

    PLUS_MEMBER_NO_EXIST(18007,"未开通会员或会员已过期"),
    VOUCHER_TEMPLATE_SUCCESS(18007, "查询代金券模板成功"),

    INSERT_VOUCHER_TEMPLATE_SUCCESS(18008, "新增代金券成功"),

    INVALID_PARAMETER(18009, "无效参数"),

    DISASSOCIATE_PRODUCT(18010, "请解除关联商品，再删除角标"),

    REMOVE_THE_ASSOCIATED_ACTIVITY(18011, "请解除关联活动,再删除礼品"),

    TOTAL_NUMBER_OF_RED_ENVELOPES(18012, "赠送数量超出红包总数"),

    ORDER_LIMIT_CANNOT_BE_LESS(18013, "订单限额不可以小于红包面额"),

    CARD_NUMBER_MUST_GT_ZERO(18014, "卡片数量需大于0"),


    IMAGE_IS_NULL(18015, "请选择图片"),

    MARKID_IS_NULL(18016, "未查到markid"),

    End(999999, "-----");
    private final int code;
    private final String msg;

    BizCodeEnume(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
